package com.kefu.chat.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@TableName(value="chat_faq_group_doc_rel")
@ApiModel(description = "常见问题组下知识点")
public class ChatFaqGroupDocRel implements Serializable {
    /**
     * 主键
     */
    @TableId(value="id")
    @NotEmpty
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 组id
     */
    @TableField(value="group_id")
    @ApiModelProperty(value = "组id")
    private String groupId;

    /**
     * 词条id
     */
    @TableField(value="doc_id")
    @ApiModelProperty(value = "词条id")
    private String docId;

    /**
     * 访客端显示名称
     */
    @TableField(value="question_name")
    @ApiModelProperty(value = "访客端显示名称")
    private String questionName;

    /**
     * 问题类型
     */
    @TableField(value="question_type")
    @ApiModelProperty(value = "问题类型")
    private Integer questionType;
    private static final long serialVersionUID = 1L;
}